package com.jzr.medical.db1.service.Impl;

import com.jzr.medical.common.LayServiceImpl;
import com.jzr.medical.db1.mapper.TCareLabelMapper;
import com.jzr.medical.db1.mapper.TPatientCareLabelRefMapper;
import com.jzr.medical.db1.model.TCareLabel;
import com.jzr.medical.db1.service.CareLabelService;
import com.jzr.medical.db1.vo.CareLabelVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CareLabelServiceImpl extends LayServiceImpl<TCareLabelMapper,TCareLabel,CareLabelVo,Integer> implements CareLabelService {
    @Autowired
    private TPatientCareLabelRefMapper patientCareLabelRefMapper;

    public List<Map<String,Object>> codeList(Integer patientId){
        return baseMapper.getByPatientId(patientId);
    }
}
